package com.venus.common.service;

import java.io.Serializable;
import java.util.List;

import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

@Transactional(propagation=Propagation.REQUIRED)
public interface IBaseService {
	public <T> T getModel(Class<T> clazz,Serializable id);
	public boolean saveModel(Object obj);
	public boolean updateModel(Object obj);
	public boolean deleteModel(Object obj);
	public List exeHql(String hql);
}
